package base.utils;

import base.dao.BaseExample;

/**
 * 分页实体
 * @author kyq
 *
 */
public class PageEntity{
    private Integer page; //目前是第几页
    private Integer size; //每页大小
    private BaseExample params; //传入的参数

    public Integer getPage() {
        return page;
    }
    public void setPage(Integer page) {
        this.page = page;
    }
    public Integer getSize() {
        return size;
    }
    public void setSize(Integer size) {
        this.size = size;
    }
    public BaseExample getParams() {
        return params;
    }

    /**
     * 键值对的形式传值
     *
     * @param 参数/字段
     */
    public void setParams(BaseExample params) {
        this.params = params;
    }
}